.marketing-container {
  display: flex;
  height:100%;
  background: #f5f5f5;
}

/* 左侧面板 */
.left-panel {
  width: 380px;
  background: white;
  border-right: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
}

.panel-header {
  padding: 0;
  border-bottom: 1px solid #e8e8e8;
}

.tab-buttons {
  display: flex;
}

.tab-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: #f8f9fa;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.tab-btn:first-child {
  border-right: 1px solid #e8e8e8;
}

.tab-btn.active {
  background: white;
  color: #1890ff;
  border-bottom-color: #1890ff;
}

.tab-btn:hover:not(.active) {
  background: #f0f0f0;
}

.panel-content {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.scenario-content {
  height: 100%;
}

.input-section {
  height: 100%;
}
.content-section{
  height:100%;
}
.scenario-textarea {
  width: 100%;
  height: 100%;
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
}

.scenario-textarea:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.scenario-textarea::placeholder {
  color: #bfbfbf;
}

/* 右侧面板 */
.right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: white;
  margin: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}

.empty-state {
  text-align: center;
  color: #bfbfbf;
  height:100%;
}

.empty-icon {
  margin-bottom: 16px;
}

.empty-text {
  margin: 0;
  font-size: 14px;
  color: #bfbfbf;
}

/* 左侧面板底部操作区域 */
.left-panel-actions {
  padding: 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  justify-content: center;
}

.action-buttons {
  display: flex;
  gap: 12px;

}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #666;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40% 40%;
  position: relative;
}

/* Tooltip样式 */
.action-btn[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  opacity: 1;
  pointer-events: none;
}

.action-btn[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.settings-btn {
  background-image: url('@/assets/zs.png');
}

.action-btn:hover {
  border-color: #1890ff;
  color: #1890ff;
}

.send-btn {
  background: #1890ff;
  border-color: #1890ff;
  color: white;
}

.send-btn:hover {
  background: #40a9ff;
  border-color: #40a9ff;
}

/* .settings-btn:hover {
  background: #f0f0f0;

} */

/* AI配置对话框样式 */
.config-content {
  padding: 16px 0;
}

.param-value {
  margin-left: 12px;
  color: #666;
  font-weight: 500;
}

/* 营销场景选项样式 */
.scenario-options {
  padding: 20px;
}

.checkbox-section {
  margin-bottom: 20px;
}

.checkbox-group {
  width: 100%;
}

.checkbox-item {
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.checkbox-item:hover {
  border-color: #1890ff;
  background: #f0f8ff;
}

.contact-input {
  margin-top: 12px;
  margin-left: 24px;
}

.upload-section {
  margin-top: 12px;
  margin-left: 24px;
}

.upload-btn {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
}

.upload-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(24, 144, 255, 0.3);
}

.custom-input-section {
  margin-top: 20px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;

}

.scenario-textarea-input {
  width: 100%;
  height: 300px;
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
}

.custom-input-section:hover {
  border-color: #1890ff;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
}

/* 生成海报按钮样式 */
.action-buttons.center-mode {
  justify-content: center;
}

.generate-poster-btn {
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.generate-poster-btn:hover {
  background: linear-gradient(135deg, #096dd9 0%, #0050b3 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.generate-poster-btn:active {
  transform: translateY(0);
}


/* 自媒体文案内容生成区域样式 */
.content-generation-area {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.content-header {
  margin-bottom: 24px;
}

.content-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #262626;
}

.content-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}



.input-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #262626;
}

.content-prompt-textarea {
  width: 100%;
  height: 300px;
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.content-prompt-textarea:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.content-prompt-textarea::placeholder {
  color: #bfbfbf;
}

.ai-response-section {
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.ai-response-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-label {
  font-size: 14px;
  font-weight: 500;
  color: #262626;
}

.ai-config-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #666;
}

.ai-config-btn:hover {
  border-color: #1890ff;
  color: #1890ff;
  background: #f0f8ff;
}

.button-container {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.ai-voice-btn {
  height: 48px !important;
  padding: 0 32px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3) !important;
  transition: all 0.3s ease !important;
}

.ai-voice-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(24, 144, 255, 0.4) !important;
}

/* AI配音对话框样式 */
.voice-dialog-content {
  padding: 20px 0;
}

.voice-selection {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.voice-option {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
  position: relative;
}

.voice-option:hover {
  border-color: #1890ff;
  background: #f0f8ff;
}

.voice-option.active {
  border-color: #1890ff;
  background: #f0f8ff;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

.voice-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 16px;
  border: 2px solid #e8e8e8;
}

.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-info {
  flex: 1;
}

.voice-title {
  font-size: 16px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 4px;
}

.voice-subtitle {
  font-size: 12px;
  color: #8c8c8c;
}

.voice-check {
  position: absolute;
  top: 12px;
  right: 12px;
}

.voice-content {
  margin-bottom: 24px;
}

.voice-textarea {
  width: 90%;
  height: 200px;
  padding: 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  resize: none;
  outline: none;
  background: white;
  color: #262626;
  font-family: inherit;
  transition: border-color 0.2s;
}

.voice-textarea:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.voice-textarea::placeholder {
  color: #bfbfbf;
}

.voice-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.action-button {
  min-width: 100px;
  height: 40px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.primary-button {
  background: #1890ff;
  border-color: #1890ff;
}

.primary-button:hover {
  background: #40a9ff;
  border-color: #40a9ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .marketing-container {
    flex-direction: column;
  }

  .left-panel {
    width: 100%;
    height: 300px;
  }

  .right-panel {
    margin: 8px;
  }

  .content-generation-area {
    padding: 16px;
  }

  .content-prompt-textarea {
    height: 200px;
  }

  /* AI配音对话框移动端样式 */
  .voice-selection {
    flex-direction: column;
    gap: 12px;
  }

  .voice-option {
    padding: 12px;
  }

  .voice-avatar {
    width: 50px;
    height: 50px;
    margin-right: 12px;
  }

  .voice-title {
    font-size: 14px;
  }

  .voice-subtitle {
    font-size: 11px;
  }

  .voice-textarea {
    height: 150px;
    padding: 12px;
  }

  .voice-actions {
    flex-direction: column;
    gap: 12px;
  }

  .action-button {
    width: 100%;
    min-width: auto;
  }
}